<template>
  <div>
    <!-- 组件 -->
    <my-card>
      <button>我是按钮</button>
    </my-card>

    <!-- 没传就显示默认值 -->
    <my-card />
    <my-card></my-card>
  </div>
</template>

<script>
import MyCard from './components/MyCard.vue'
export default {
  components: {
    MyCard
  }
}
</script>

<style></style>
